package com.example.snailjob.component;

import com.aizuda.snailjob.client.core.MethodResult;
import com.example.snailjob.vo.OrderVo;

public class DefaultMethodResult implements MethodResult {
    @Override
    public Object result(String scene, String executorClassName, Object[] args, Throwable throwable) {
        OrderVo orderVo = new OrderVo();
        orderVo.setOrderId((String) args[0]);
        return orderVo;
    }
}